//
//  CommodityView.h
//  B2C
//
//  Created by xiaowu on 2017/7/26.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CommodityView : UIView

+ (CGFloat)getHeightWithWidth:(CGFloat)width;

- (void)setItemViewWithImageUrl:(NSString *)url title:(NSString *)title subTitle:(NSString *)subTitle price:(NSString *)price;

@property (nonatomic, copy) void (^block)(void);

@end
